package cn.buildworld.mapper;

import cn.buildworld.pojo.po.OsShoppingCart;
import cn.buildworld.pojo.po.OsShoppingCartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsShoppingCartMapper {
    int countByExample(OsShoppingCartExample example);

    int deleteByExample(OsShoppingCartExample example);

    int deleteByPrimaryKey(Long cartId);

    int insert(OsShoppingCart record);

    int insertSelective(OsShoppingCart record);

    List<OsShoppingCart> selectByExample(OsShoppingCartExample example);

    OsShoppingCart selectByPrimaryKey(Long cartId);

    int updateByExampleSelective(@Param("record") OsShoppingCart record, @Param("example") OsShoppingCartExample example);

    int updateByExample(@Param("record") OsShoppingCart record, @Param("example") OsShoppingCartExample example);

    int updateByPrimaryKeySelective(OsShoppingCart record);

    int updateByPrimaryKey(OsShoppingCart record);
}